package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Message;
import cn.wolfcode.trip.base.query.LettersQueryObject;
import cn.wolfcode.trip.base.query.MessageQueryObject;
import com.github.pagehelper.PageInfo;

public interface IPrivateLetterMessageService {
    void save(Message message);

    PageInfo query(LettersQueryObject qo);

    int selectUnReadCount(LettersQueryObject qo);

    PageInfo letterForList(LettersQueryObject qo);

    void changeMsgState(MessageQueryObject qo);
}
